projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fbb870
)
CC Mode: Fix a bug in yesterday's patch
author
Alan Mackenzie
<acm@muc.de>
Fri, 13 Aug 2021 20:58:30 +0000
(20:58 +0000)
committer
Alan Mackenzie
<acm@muc.de>
Fri, 13 Aug 2021 20:58:30 +0000
(20:58 +0000)
* lisp/progmodes/cc-mode.el (c-before-change-check-unbalanced-strings): Check
the language has multi-line strings before calling
c-ml-string-opener-at-or-around-point.
lisp/progmodes/cc-mode.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/cc-mode.el
b/lisp/progmodes/cc-mode.el
index a5df8449ea0fb5487d59f6150d1105d338f5a9ca..057d292246f8270e8048cbb1a27f4f4cb88e6c8c 100644
(file)
--- a/
lisp/progmodes/cc-mode.el
+++ b/
lisp/progmodes/cc-mode.el
@@
-1526,6
+1526,7
@@
Note that the style variables are always made local to the buffer."
(unless
(or (and
;; Don't set c-new-BEG/END if we're in an ml string.
+ c-ml-string-opener-re
(eq beg-literal-type 'string)
(c-ml-string-opener-at-or-around-point (car beg-limits)))
(and c-multiline-string-start-char